cd ../
mvn clean package -Dmaven.test.skip=true

scp hipo-im/target/hipo-im-0.0.1-SNAPSHOT.jar root@hipo.lanchetech.com:/data/wwwroot/hipo-test/hipo-im/
ssh root@hipo.lanchetech.com "source /etc/profile; cd /data/wwwroot/hipo-test/hipo-im; /data/wwwroot/hipo-test/hipo-im/start.sh"
echo '测试部署聊天系统成功'

#scp hipo-im/target/hipo-im-0.0.1-SNAPSHOT.jar root@uat.hipo88.com:/data/wwwroot/hipo-uat/hipo-im/
#ssh root@uat.hipo88.com "source /etc/profile; cd /data/wwwroot/hipo-uat/hipo-im; /data/wwwroot/hipo-uat/hipo-im/start.sh"
#echo 'UAT部署聊天系统成功'
#
scp hipo-im/target/hipo-im-0.0.1-SNAPSHOT.jar root@hipo.lanchetech.com:/data/wwwroot/hipo-prod/hipo-im/
ssh root@hipo.lanchetech.com "source /etc/profile; cd /data/wwwroot/hipo-prod/hipo-im; /data/wwwroot/hipo-prod/hipo-im/start.sh"
echo '生产部署聊天系统成功'
